package com.ruoyi.project.mgr.room.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 教室对象 mgr_room
 * 
 * @author .
 * @date 2020-02-11
 */
public class MgrRoom extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 教室id */
    private Long roomId;

    /** 教室号 */
    @Excel(name = "教室号")
    private String roomCode;

    /** 教室位置 */
    @Excel(name = "教室位置")
    private String roomPosition;

    /** 状态(0正常1停用) */
    @Excel(name = "状态(0正常1停用)")
    private Integer status;
    /** 是否选中*/
    private boolean flag = false;

    public void setRoomId(Long roomId) 
    {
        this.roomId = roomId;
    }

    public Long getRoomId() 
    {
        return roomId;
    }
    public void setRoomCode(String roomCode) 
    {
        this.roomCode = roomCode;
    }

    public String getRoomCode() 
    {
        return roomCode;
    }
    public void setRoomPosition(String roomPosition) 
    {
        this.roomPosition = roomPosition;
    }

    public String getRoomPosition() 
    {
        return roomPosition;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("roomId", getRoomId())
            .append("roomCode", getRoomCode())
            .append("roomPosition", getRoomPosition())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .toString();
    }
}
